package cn.usian.service.impl;

import cn.usian.dao.OrderDao;
import cn.usian.pojo.Order;
import cn.usian.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderServiceImpl implements OrderService {
    @Resource
    private OrderDao orderDao;

    @Override
    public Order findById(long id) {
        return orderDao.selectById(id);
    }
}
